
package cup.modules.visual.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 可视化地图配置表实体类
 *
 * @author CUP
 */
@Data
@TableName("cup_visual_map")
@ApiModel(value = "VisualMap对象", description = "可视化地图配置表")
public class VisualMap implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId(value = "id", type = IdType.ASSIGN_ID)
	@ApiModelProperty(value = "主键")
	@JsonSerialize(using = ToStringSerializer.class)
	private Long id;
	/**
	 * 地图名称
	 */
	@ApiModelProperty(value = "地图名称")
	private String name;
	/**
	 * 地图数据
	 */
	@ApiModelProperty(value = "地图数据")
	private String data;


}
